#include"Stack.h"

int main()
{
	ST st;
	STInit(&st);

	STPush(&st, 1);
	STPush(&st, 2);
	STPush(&st, 3);
	STPush(&st, 4);

	for (int i = 0; i < 4; i++)
	{
		printf("%d\n", STTop(&st));
		STPop(&st);
	}

	return 0;
}